home *** CD-ROM | disk | FTP | other *** search
-
- ; ---------------------------------------------------------------------
- ; Simple example of double-buffered animation - support@blitzbasic.com
- ; ---------------------------------------------------------------------
- ; Uncommented version, to show how simple the code really is...
-
- Graphics 640, 480
- SetBuffer BackBuffer ()
-
- player = LoadImage ("rocket.bmp")
- MaskImage player, 255, 0, 255
-
- Repeat
-
- Cls
- DrawImage player, MouseX (), MouseY () ; Draw the image
- Flip
-
- Until KeyHit (1)
-
- End